#include "paging.h"







pageTable* createPageTable(int size){
	pageTable* pt = (pageTable*) malloc(sizeof(pageTable) * size);


	int i;
	for(i = 0; i < size; i++){
		pageTable* entry = malloc(sizeof(pageTable));
		entry->frame = 0;
		entry->val = 0;
		pt[i] = *entry;
	}

	return pt;
}
